home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 376-400 / disk_376 / toollibrary / src / a.c next >
Text File  |  1992-05-06  |  627b  |  31 lines

  1.  #include "ToolProto.h"
  2.  #include <string.h>
  3.  #include <intuition/intuition.h>
  4.  #include <intuition/intuitionbase.h>
  5.  #include <libraries/dos.h>
  6.  #include <graphics/gfxmacros.h>
  7.  #include <exec/memory.h>
  8.  #include <proto/intuition.h>
  9.  #include <proto/graphics.h>
  10.  #include <stdlib.h>
  11.  #include <stdio.h>
  12.  #include <string.h>
  13.  #include <intuition/intuitionbase.h>
  14.  
  15.  #undef Add
  16.  #undef Sub
  17.  #undef Div
  18.  #undef Mul
  19.  #undef Fix
  20.  #undef Flt
  21.  #undef Neg
  22.  
  23.  #define Add(a,b)    (a+b)
  24.  #define Sub(a,b)    (a-b)
  25.  #define Mul(a,b)    (a*b)
  26.  #define Div(a,b)    (a/b)
  27.  #define Fix(a)        ((LONG)a)
  28.  #define Flt(a)        ((DOUBLE)a)
  29.  #define Neg(a)        (-a)
  30.  
  31.